ci: add Typos spell-check workflow#39
Conversation
Add crate-ci/typos on PRs and main pushes. Allow SAMPL in Stripe-style sample IDs in README (same tokenizer quirk as Node SDK). Co-authored-by: Cursor <cursoragent@cursor.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (6)
✅ Files skipped from review due to trivial changes (3)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughAdds a new spell-check CI workflow and typos config, and replaces floating GitHub Action tags with commit-pinned SHAs across multiple workflows and a composite action; no other job logic or scripts were changed. ChangesCI pinning and spell-check
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/workflows/typos.yml:
- Around line 22-25: The workflow pins use of actions/checkout@v6 and
crate-ci/typos@v1 to mutable tags; replace those tags with their corresponding
full immutable commit SHAs (e.g., actions/checkout@<full-commit-sha> and
crate-ci/typos@<full-commit-sha>) so CI uses an exact commit, and add/update
Dependabot or Renovate configuration to automatically propose SHA updates;
locate the occurrences of actions/checkout and crate-ci/typos in the typos.yml
and swap the tag references for the verified commit SHAs.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 8fdb5ffe-4292-46c9-ad6b-c01f352bc485
📒 Files selected for processing (2)
.github/workflows/typos.yml.typos.toml
Replace version tags with resolved commits and trailing comments recording the prior ref (supply-chain hygiene). Co-authored-by: Cursor <cursoragent@cursor.com>
Add crate-ci/typos on PRs and main pushes. Allow SAMPL in Stripe-style sample IDs in README (same tokenizer quirk as Node SDK).
Summary by CodeRabbit